package com.antler.smt.service.admin;

import com.antler.smt.entity.MemberChargeEntity;
import com.antler.smt.enums.ResultCodeEnum;
import com.antler.smt.response.base.Result;
import org.springframework.data.domain.Page;

/**
 *  后台审核会员账户
 *
 * @author zhangyi
 * @date 2018/4/8 14:47
 */
public interface MemberChargeService {

    /**
     * 获取所有带审核的充值账单
     *
     * @return
     */
    Page<MemberChargeEntity> getMemberChargeList();

    /**
     * 审核用户充值记录
     * @param id
     * @param auditResult 审核结果
     * @param userId 审核用户id
     * @param actualAmmount 实际金额
     * @return
     */
    Result<ResultCodeEnum> updateMemberCharge(long id, Integer auditResult, Long userId,Long actualAmmount);


}
